package 带有缓冲区的字符流;

import java.io.*;

public class 带有缓冲的字符输出流 {
    public static void main(String[] args) throws IOException {

//        BufferedWriter out = new BufferedWriter(new FileWriter("IO流/src/temp"));
        BufferedWriter out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("IO流/src/temp")));
        out.write("hhhhh");
        out.write("xxxxx");
        out.flush();
        out.close();
    }
}
